home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Sample Code / AOCE Sample Code / Digital Signatures / Digital Signature Demo / Digital Signature Demo ReadMe < prev    next >
Encoding:
Text File  |  1994-06-23  |  2.0 KB  |  42 lines  |  [ttro/ttxt]

  1. DigitalSignatureDemo
  2. 6/25/93
  3.  
  4. This sample program illustrates how the AOCE Digital Signature Manager may be used to sign and verify the contents of entire files or individual objects. It also shows how to integrate Digital Signatures into the Think Class Library organizational structure.
  5.  
  6. Note, however, that this sample DOES NOT demonstrate the proper human interface for signed objects. Also, you should carefully consider whether your application needs to sign its documents.
  7.  
  8. The sample was built by extending the Think Class Library “TinyEdit” example. The DemoApp and DemoEditDoc classes are subclasses of CEditApp and CEditDoc respectively, while DemoMain.c replaces TinyEdit.c and the other classes are new.
  9.  
  10. This sample requires Think C 6.0 and Think Class Library 1.1.3.
  11. It does not compile under Think C 5.0.4.  Full directions for
  12. building the demo are in the file "!Building This Demo.note"
  13.  
  14. The sample adds two menu options to the File menu:
  15.  
  16. • “Open and Verify File…” opens a signed file.
  17.        It verifies the digital signature and opens the
  18.        file read-only. (Signing a file sets the "locked"
  19.        flag: if you try opening it using the Open menu
  20.        option, you'll get an error message.
  21.  
  22. • “Save, Close, and Sign File…” saves the current
  23.        contents of the window as a new file, then signs
  24.        that file using your registered Digital Signature.
  25.  
  26. The sample also adds a new menu, Signed Object Demo that illustrates how your applications can sign individual objects, such as the state of checkboxes and radio
  27. buttons. The Signed Object Demo DOES NOT, however, illustrate the proper human interface for signed objects.
  28.  
  29. Compilation Environment:
  30.     THINK C 6.0.1, Think Class Library 1.1.3. This sample
  31.     will not compile under Think C 5.0.
  32.  
  33. Restrictions:
  34.     Please read the "! Building This Demo.note" file before
  35.     trying to build this sample.
  36.  
  37. Authors: Martin Minow-DTS
  38.  
  39. -----------------------------------------------------------------------------
  40. Copyright © 1992-93, Apple Computer Inc. All Rights Reserved.
  41.  
  42.